﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ColdStorage;

namespace ColdStorage.DOL
{
     class ColdStorage
    {

        public static double dbcoldStorageOutsideTemp;

        public static double dbColdStorageOutsideTemp
        {
            get { return ColdStorage.dbcoldStorageOutsideTemp; }
            set { ColdStorage.dbcoldStorageOutsideTemp = value; }
        }
        
         List<Room> lRoom = new List<Room>();
        public void AddRoom(Room aRoom)
        {
            lRoom.Add(aRoom);
        }
        public void UpdateRoom(Room uRoom)
        {
            

        }
      public  double dbResult = 0;
        
      //  public double CalculateTotal()
       // {
       //     foreach (Room r in lRoom) {
         //       double a = r.HeatSum();
        //        dbResult += r.HeatSum();
         //   }
          //  return dbResult;
        //}
         
    }

    
}
